import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { formatTime, ceshi } from './untils/index';
// 导入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
// 导入swiper的样式
import 'swiper/css/swiper.css'
// 因为swiper是插件，所有要use
Vue.use(VueAwesomeSwiper)
import './plugin'
Vue.config.productionTip = false
import http from './untils/request';
// 全局注入方法
Vue.prototype.formatTime = formatTime
Vue.prototype.$http = http;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
